package com.lufei4.chestnut.net2;

import com.lufei4.chestnut.Constans;
import com.lufei4.chestnut.network.WxarticleSBean;
import com.lufei4.chestnut.network.WxarticleSBean2;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;

public interface ApiUrl {
    //get请求 Attribute value must be constant
    @GET(Constans.retrofit)
    Call<WxarticleSBean> getRetrofit();

    @GET(Constans.retrofit)
    Observable<WxarticleSBean> getRetrofit1();

    @GET(Constans.retrofit)
    Observable<BaseResponse<WxarticleSBean>> getRetrofit2();


    @GET(Constans.retrofit)
    Observable<BaseResponse<List<WxarticleSBean2>>> getRetrofit4();
}
